package com.ta.stage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName(value = "storage")
@ApiModel(description = "存储服务表")
public class Storage implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "平台IP")
    private String ip;

    @ApiModelProperty(value = "平台端口")
    private String port;

    @ApiModelProperty(value = "存储位置")
    private String addres;

    @ApiModelProperty(value = "自动存储")
    private Integer auto;

    @ApiModelProperty(value = "保存时间")
    private Float duration;

    @ApiModelProperty(value = "保存路径")
    private String path;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "备用1")
    private String by1;

    @ApiModelProperty(value = "备用2")
    private String by2;
}
